projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c4b5b
)
Make Haiku event buffer non-static
author
Po Lu
<luangruo@yahoo.com>
Wed, 11 May 2022 06:59:39 +0000
(06:59 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 11 May 2022 06:59:39 +0000
(06:59 +0000)
* src/haikuterm.c (haiku_read_socket): Don't make `buf' static
in case thread yielding happens inside.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index ec6a8f0cea17a7874ac1c60662e0a3dbcd5ad346..58855d07fb84d195e3774481c16582a0f0846f3b 100644
(file)
--- a/
src/haikuterm.c
+++ b/
src/haikuterm.c
@@
-2998,7
+2998,7
@@
static int
haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
{
int message_count;
-
static
void *buf;
+ void *buf;
ssize_t b_size;
int button_or_motion_p, do_help;
enum haiku_event_type type;